/**
 * 
 */
package org.whatisjava.validate;

import org.whatisjava.action.BaseAction;

/**
 * 验证
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-28
 */
public class TestValidateAction extends BaseAction {

	private static final long serialVersionUID = 1L;
	// input
	private String name;
	private Integer score;

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	@Override
	public String execute() {
		System.out.println("name:" + name + ",score:" + score);
		return "success";
	}
}
